package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.GiteeAddress;
import com.ruoyi.system.mapper.GiteeAddressMapper;
import com.ruoyi.system.service.GiteeAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GiteeAddressServiceImpl implements GiteeAddressService {
    @Autowired
    GiteeAddressMapper giteeAddressMapper;
    @Override
    public int insert(GiteeAddress giteeAddress) {
        return giteeAddressMapper.insert(giteeAddress);
    }

    @Override
    public int update(GiteeAddress giteeAddress) {
        return giteeAddressMapper.update(giteeAddress);
    }

    @Override
    public int delete(String id) {
        return giteeAddressMapper.delete(id);
    }

    @Override
    public GiteeAddress get(String id) {
        return giteeAddressMapper.get(id);
    }

    @Override
    public List<GiteeAddress> findList(GiteeAddress giteeAddress) {
        return giteeAddressMapper.findList(giteeAddress);
    }

}
